﻿using KalikoCMS.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using KalikoCMS.Attributes;
using KalikoCMS.Core;
using KalikoCMS.PropertyType;

namespace MvcApplication.Cms.PageType
{
    [PageType("article", "文章")]
    public class ArticlePageType : CmsPage
    {
        [Property("文章 标题")]
        public virtual StringProperty Heading { get; set; }

        [ImageProperty("封面图片", Width = 960, Height = 280)]
        public virtual ImageProperty TopImage { get; set; }

        [Property("导语")]
        public virtual TextProperty Preamble { get; set; }

        [Property("主要内容")]
        public virtual HtmlProperty MainBody { get; set; }
    }
}